package pro.shushi.pamirs.hr.api.service.eam;

import pro.shushi.pamirs.hr.api.pmodel.eam.EamUkDtMtoolProxy;
import pro.shushi.pamirs.hr.api.pmodel.eam.EamUkHdMtoolProxy;
import pro.shushi.pamirs.hr.api.tmodel.EamUkDtMtoolReq;
import pro.shushi.pamirs.hr.api.tmodel.EamUkHdMtoolReq;
import pro.shushi.pamirs.hr.api.tmodel.EmployeeBatchReq;
import pro.shushi.pamirs.meta.annotation.Fun;
import pro.shushi.pamirs.meta.annotation.Function;

import java.util.Map;

/**
 * 工装保养服务
 */
@Fun(EamUkHdMtoolService.FUN_NAMESPACE)
public interface EamUkHdMtoolService {

    String FUN_NAMESPACE = "hr.simple.service.EamUkHdMtoolService";

    /**
     * 确认保养前校验
     * @param data
     */
    @Function
    void beforeStartMaintain(EamUkHdMtoolReq data);

    /**
     * 确认保养
     * @param data
     */
    @Function
    void confirmStartMaintain(EamUkHdMtoolReq data);

    /**
     * 保养完成前校验
     * @param data
     */
    @Function
    void beforecompleteMaintain(EamUkHdMtoolReq data);

    /**
     * 保养完成
     * @param data
     */
    @Function
    EamUkHdMtoolReq completeMaintain(EamUkHdMtoolReq data);


    /**
     * 保养更新保养项
     * @param data
     */
    @Function
    Map<String,Object> updateUkDtMaintain(EamUkDtMtoolReq data);


}
